package com.sy.mapper;

import com.sy.entity.UserRanking;
import com.sy.entity.UserRankingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserRankingMapper {
    long countByExample(UserRankingExample example);

    int deleteByExample(UserRankingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserRanking record);

    int insertSelective(UserRanking record);

    List<UserRanking> selectByExample(UserRankingExample example);

    UserRanking selectByPrimaryKey(Integer id);

    UserRanking selectByUserId(Integer userId);

    int updateByExampleSelective(@Param("record") UserRanking record, @Param("example") UserRankingExample example);

    int updateByExample(@Param("record") UserRanking record, @Param("example") UserRankingExample example);

    int updateByPrimaryKeySelective(UserRanking record);

    int updateByPrimaryKey(UserRanking record);
}